import {Component, OnInit} from '@angular/core';
import {CommonHttp} from '../../common/common.http';

@Component({
  selector: 'app-default-page',
  templateUrl: './default-page.component.html',
  styleUrls: ['./default-page.component.scss']
})
export class DefaultPageComponent implements OnInit {
  public html: string;

  constructor() {

  }

  ngOnInit() {
    const commonHttp = new CommonHttp();
    const config = commonHttp.get('/assets/develop/document.html');
    document.getElementById('html').innerHTML = config.data;
  }

}
